﻿using ProductionManage.Models.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using test.demo.Model.WM仓储管理;

namespace wangyaxin.Zhangduo.WMItemRecpt
{
    public interface IWMItemRecptAppService
    {
        /// <summary>
        /// 显示采购入库
        /// </summary>
        /// <param name="RecptCode">入库单编号</param>
        /// <param name="RecptName">入库单名称</param>
        /// <param name="VendorName">供应商名称</param>
        /// <param name="PoCode">订单编号</param>
        /// <param name="RecptDate">入库日期</param>
        /// <returns>返回满足条件的入库列表</returns>
        Task<string> GetWMitemRecpt(string RecptCode, string RecptName, string VendorName, string PoCode, string RecptDate);
        /// <summary>
        /// 添加采购信息
        /// </summary>
        /// <param name="model">实体</param>
        /// <returns>返回受影响行数</returns>
        Task<string> AddWMitemRecpt(WM_Item_Recpt model);
        /// <summary>
        /// 显示仓库
        /// </summary>
        /// <returns>返回仓库列表</returns>
        Task<string> GetWmWarehouse();
        /// <summary>
        /// 显示供应商
        /// </summary>
        /// <returns>返回供应商列表</returns>
        public Task<string> GetVendor();
    }
}
